import unittest


class TestDemo(unittest.TestCase):
    @classmethod
    def setUpClass(cls):
        print("类环境构建")
    def setUp(self):
        print('构建环境1')
    def test_demo(self):
        print("单元测试代码")
        self.assertTrue(True)
    def test_demo2(self):
        print("单元测试代码")
        self.assertTrue(True)
    def tearDown(self):
        print("还原环境")

    @classmethod
    def tearDownClass(cls):
        print("类环境还原")
